<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>练习填空题--设置</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<link rel="stylesheet" type="text/css" href="css/main.css" />
  </head>
  
  <body>
  	<%@ include file="header.jsp" %>
    
    <DIV id=tips>
		<P class=tips_left>
			您的位置：<A>首页</A> 
			&gt;&gt; <A>练习</A>
			&gt;&gt; <A>练习填空题--设置</A>
		</P>
	</DIV>
		
	<DIV id=container>
		<DIV id=list_left>
			<%@ include file="left_exercise.jsp" %>
		</DIV>
		<DIV id=list_right>
			<DIV id=subnav>
				<UL class=subnav_ul1></UL>
				<UL class=subnav_ul2>
					<DIV class=subnav_t>
						<P class=subnav_tl>练习填空题--设置</P>
  						<P class=subnav_tr></P>
  					</DIV>
  					<DIV class=subnav_nr>
  						<form id="exerciseTiankongSetting" name="exerciseTiankongSetting" action="student/exerciseTiankongSetting.html" method="post">
					    	<table width="500" align="center" border="0" cellpadding="0" cellspacing="0">
						        <tr>
						        	<td width="10%"></td>
						        	<td class="row_title" width="30%">
						        		请输入填空题的参数
						        	</td>
						        	<td></td>
						        </tr>
						        <tr>
						          	<td class="row_name">选择章节:</td>
						          	<td class="row_content">
						          		<select name="chapter">
											<option value="0"></option>
											<c:forEach items="${chapterList}" var="chapter">
											<option value="${chapter.id}" <c:if test="${chapterID == chapter.id}">selected</c:if> >
												${chapter.name}
											</option>
											</c:forEach>
										</select>
						          	</td>
						          	<td class=error_message width="30%">* ${error_chapterID}</td>
						        </tr>
						        <tr>
						          	<td class="row_name">期望难度:</td>
						          	<td class="row_content">
										<select name="difficulty">
											<option value="0"> </option>
											<option value="1" <c:if test="${difficulty == 1}">selected</c:if> > 1</option>
											<option value="2" <c:if test="${difficulty == 2}">selected</c:if> > 2</option>
											<option value="3" <c:if test="${difficulty == 3}">selected</c:if> > 3</option>
											<option value="4" <c:if test="${difficulty == 4}">selected</c:if> > 4</option>
											<option value="5" <c:if test="${difficulty == 5}">selected</c:if> > 5</option>
											<option value="6" <c:if test="${difficulty == 6}">selected</c:if> > 6</option>
											<option value="7" <c:if test="${difficulty == 7}">selected</c:if> > 7</option>
											<option value="8" <c:if test="${difficulty == 8}">selected</c:if> > 8</option>
											<option value="9" <c:if test="${difficulty == 9}">selected</c:if> > 9</option>
							            </select>
								  	</td>
								  	<td class=error_message>* ${error_difficulty}</td>
						        </tr>
						        <tr>
						          	<td class="row_name"></td>
						          	<td class="row_submit"><input type="submit" value=" 开始练习 "></td>
						          	<td class=error_message>${error_setting}</td>
						        </tr>
						     </table>
						</form>
					</DIV>
				</UL>
				<UL class=subnav_ul3></UL>
			</DIV>
		</DIV>
	</DIV>

    <%@ include file="../footer.jsp" %>
  </body>
</html>
